<?php
class AdminModule extends CWebModule {
   
    public function init() {
        Yii::app()->user->loginUrl = '/admin/default/login';
        Yii::app()->bootstrap->registerAllCss();
        
        $this->setImport(array(
            $this->id . '.components.*',
        ));
    }
}